// Copyright (c) 2021 Huawei Device Co., Ltd. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include <memory>

#include "modules/desktop_capture/desktop_capture_options.h"
#include "modules/desktop_capture/desktop_capturer.h"

#include "modules/desktop_capture/ohos/base_window_capturer.h"

#include "base/logging.h"

namespace webrtc {

// static
std::unique_ptr<DesktopCapturer> DesktopCapturer::CreateRawScreenCapturer(
    const DesktopCaptureOptions& options) {
  LOG(INFO) << "webrtc DesktopCapturer::CreateRawScreenCapturer";
  return BaseWindowCapturer::CreateRawCapturer(options, BaseWindowCapturer::CaptureSourceType::kScreen);
}

}  // namespace webrtc
